package com.hxzy.controller.mobile.order.req;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Getter;
import lombok.Setter;

import javax.validation.constraints.NotNull;

/**
 * @Author wy
 * @Description 提交订单
 * @Date 2024/1/18 10:49
 * @Version 1.0
 */
@Getter
@Setter
@ApiModel(value = "下订单")
public class SubmitOrderReq {

    @ApiModelProperty(value = "收货地址ID")
    @NotNull(message = "收货地址ID不能为空")
    private Long addressBookId;

    @ApiModelProperty(value = "商家ID")
    @NotNull(message = "商家ID不能为空")
    private Long merchantId;

    @ApiModelProperty(value = "支付方式")
    @NotNull(message = "支付方式不能为空")
    private Integer payMethod;

    @ApiModelProperty(value = "订单备注")
    private String remark;
}
